<template>
<div class="click_see-wrapper">
  <span>
      <a v-if="hasInfo" class="mya" href="javascript:;" @click.stop.prevent="toSee">点击查看</a>
    </span>
</div>
</template>
<script>
import tool from 'src/util/tool';
import util from '_util/index';
import logic from '_logic';
import _ from 'lodash';
import RP from 'src/util/common/click_see';


export default {
  data() {
    return {
      name: null,
    }
  },
  watch: {
//    col: function() {
//      this.setName();
//    }
  },
  methods: {
    toSee(){
      logic.detail.show_click_see(this, this.col);
    }
  },
  props: ['col'],
  computed: {
    hasInfo(){
      let vals = this.col.rs.vals;
      return RP.hasInfo(vals);
    }
  },
  created() {
  }
};
</script>
<style rel="stylesheet/less" scoped lang="less">
  @dir: "cell/";
  @import "../../common/style/mixin";
  .click_see-wrapper{
    .mya{
        .mya();
    }
  }
</style>
